<?php

namespace app\index\controller;

use app\common\lib\ali\Sms;

class Index
{
    public function index()
    {
        echo '1';
    }

    public function singwa()
    {
        echo time();
    }

    public function hello($name = 'ThinkPHP5')
    {

        return '1';
        echo 'hessdggsg' . $name . time();
    }

    public function sms()
    {
        try {
            Sms::sendSms(13257524500, 12345);
        } catch (\Exception $e) {

        }
    }

}
